#ifndef ANALYSE_H
#define ANALYSE_H
#include "predict.h"

#define COST_MAX (1<<28)

typedef struct 
{
    int i_satd_i16x16;
    int i_satd_chroma;
    intra16x16_pred_e i_intra16x16_pred;
    intra_chroma_pred_e i_chroma_pred;
}h264_analyse_t;

void mb_analyse_init(h264_analyse_t *analyse);
const intra16x16_pred_e *predict_16x16_mode_available(int i_neighbour);
const intra_chroma_pred_e *predict_chroma_mode_available(int i_neighbour);
#endif
